package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 数据目录对象 base_catalog
 * 
 * @author yepanpan
 * @date 2025-02-12
 */
@Data
public class BaseCatalog extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;
    /** 数据主题 */
    @Excel(name = "数据主题")
    private String subjectName;
    @NotNull
    private Long subjectId;

    /** 上级目录 */
    @Excel(name = "上级目录")
    private String pname;
    @NotNull
    private Long pid;

    /** 目录名称 */
    @Excel(name = "目录名称")
    @NotNull
    private String name;

    /** 目录代码 */
    @Excel(name = "目录代码")
    @NotNull
    private String code;

    /** 状态 */
    @Excel(name = "状态", dictType="ext_status", comboReadDict=true)
    @NotNull
    private String status;

}
